<div id="content" class="account">
<h1><?=$data->TITLE?></h1>
<?if($data->account->accounts) foreach ($data->account->accounts as $i):?>
    <div id="item<?=$i->ID?>" class="item" title="administerial,account/<?=$i->ID?>">
        <h4><a href="<?=PREFIX.'/'.APP.'/administerial,account/'.$i->ID?>" class="title"><?=$i->name.' '.$i->surname?></a></h4>
        <div class="edit">
            <a class="linkpost box" href="/json<?=PREFIX.'/'.APP.'/administerial,confirmation/?email='.$i->email.'&ID='.$i->ID?>" title="<?=_('Are you sure?')?>">
                <?=_('Resend confirmation code')?>
            </a>
            <a class="box" href="<?=PREFIX.'/'.APP?>/administerial,account/<?=$i->ID?>">
                <?=_('Edit')?>
            </a>
        </div>
        <dl class="info">
            <dt><?=_('Email')?>:</dt><dd><?=$i->email?></dd>
            <dt><?=_('Status')?>:</dt>
            <dd<?=$i->access<0?' class="passive"':''?>><?=$i->access<0?_('Uncorfirmed member'):_('Corfirmed member')?></dd>
            <dt><?=_('Last login date')?>:</dt>
            <dd<?=!$i->lastlogin?' class="passive"':''?>><?=common::date($i->lastlogin,1)?></dd>
            <dt><?=_('Access level')?>:</dt>
            <dd<?=abs($i->access)<2?' class="passive"':''?>><?=abs($i->access)?></dd>
        </dl>
        <div class="clear"></div>
    </div>
<?endforeach;?>
<script type="text/javascript"> tool.linkposts(); </script>
<?=common::pager(array('total'=>$data->account->total,'page'=>$data->PAGE,'limit'=>$data->LIMIT,'link'=>'/'.LANG.'/'.APP.'/'.CMD.'/'))?>
<div class="clear"></div>
</div> 
<div id="aside">
    <?include 'apps/home/template/_home_flank.html'?>
</div>